package com.code.softeem.finaltest;

public class Emp extends People{
    private String salary;
    private String job;

    public Emp() {
    }

    public Emp(String salary, String job) {
        this.salary = salary;
        this.job = job;
    }

    public Emp(int id, String name, String salary, String job) {
        super(id, name);
        this.salary = salary;
        this.job = job;
    }

    public void learn(){
        System.out.println("程序员每天都要学习新的东西");
    }
}
